package com.gtw.modules.sys.service;

import com.gtw.modules.entity.TbIntegral;

import java.util.List;
import java.util.Map;

/**
 * Created by wuye on 2018/2/28.
 */
public interface TbIntegralService {

    TbIntegral queryObject(Integer id);

    List<TbIntegral> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(TbIntegral integral);

    void update(TbIntegral integral);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);

    /**
     * 查询所有
     *
     * @return
     */
    List<TbIntegral> findAll(int type);
}
